﻿using DataAnnotationsExtensions;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BenzInfo.Hockey.Grenadiers.Models
{
    [Table("NewsletterIncsription")]
    public class NewsletterIncsription
    {
        [Key]
        public int Id { get; set; }

        [Required]
        [Display(Name = "DisplayFirstName", ResourceType = typeof(Resources.Models.NewsletterIncsription))]
        public string FirstName { get; set; }

        [Required]
        [Display(Name = "DisplayLastName", ResourceType = typeof(Resources.Models.NewsletterIncsription))]
        public string LastName { get; set; }

        [Required]
        [Display(Name = "DisplayEmail", ResourceType = typeof(Resources.Models.NewsletterIncsription))]
        [Email]
        public string Email { get; set; }
    }
}